package com.basic.feign;

import com.code.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Component
@FeignClient(name = "mall-shopinfo-server",path = "/mall-shopinfo-service" ,url = "localhost:9006")
public interface ShopinfoFeign {

    /**
     * 查询厂商
     * @return
     */
    @GetMapping(value = "/shopinfo/queryShopinfo")
    public @ResponseBody AjaxResult queryShopinfo();

}
